<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="/layout/template.xhtml">

<ui:define name="body">

    <rich:panel>
        <f:facet name="header">User Details</f:facet>


        <s:decorate id="login" template="/layout/display.xhtml">
            <ui:define name="label">Login</ui:define>
            <h:outputText value="#{userDetails.instance.login}"/>
        </s:decorate>

        <s:decorate id="name" template="/layout/display.xhtml">
            <ui:define name="label">Name</ui:define>
            <h:outputText value="#{userDetails.instance.name}"/>
        </s:decorate>

        <s:decorate id="surname" template="/layout/display.xhtml">
            <ui:define name="label">Surname</ui:define>
            <h:outputText value="#{userDetails.instance.surname}"/>
        </s:decorate>

        <s:decorate id="birthDate" template="/layout/display.xhtml">
            <ui:define name="label">Birth date</ui:define>
            <h:outputText value="#{userDetails.instance.birthDate}">
                <s:convertDateTime type="date" dateStyle="short"/>
            </h:outputText>
        </s:decorate>

        <s:decorate id="type" template="/layout/display.xhtml">
            <ui:define name="label">Type</ui:define>
            <h:outputText value="#{userDetails.instance.type}"/>
        </s:decorate>

        <s:decorate id="calculatedRate" template="/layout/display.xhtml">
            <ui:define name="label">Calculated rate</ui:define>
            <h:outputText value="#{userDetails.instance.calculatedRate}"/>
        </s:decorate>


        <div style="clear:both"/>

    </rich:panel>

    
    
</ui:define>

</ui:composition>
